/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 电梯-附件表，电梯一对多附件, 历史表实体类
 *
 * @author ysq
 * @since 2024-08-01
 */
@Data
@TableName("blade_elevator_attachment_history")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ElevatorAttachmentHistory对象", description = "电梯-附件表，电梯一对多附件, 历史表")
public class ElevatorAttachmentHistory extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 电梯id
	*/
		@ApiModelProperty(value = "电梯id")
		private Long elevatorId;
	/**
	* 附件json
	*/
		@ApiModelProperty(value = "附件json")
		private String attachment;
	/**
	* 检验报告类型: 1-电梯监督检验报告,2-电梯定期检验报告 ； 3安装监督检验报告、4,改造监督检验报告、5,大修监督检验报告
	*/
		@ApiModelProperty(value = "检验报告类型: 1-电梯监督检验报告,2-电梯定期检验报告 ； 3安装监督检验报告、4,改造监督检验报告、5,大修监督检验报告")
		private Integer reportAttachmentType;
	/**
	* 报告编号
	*/
		@ApiModelProperty(value = "报告编号")
		private String reportAttachmentNum;
	/**
	* 检验报告开始日期
	*/
		@ApiModelProperty(value = "检验报告开始日期")
		private LocalDateTime reportAttachmentBeginTime;
	/**
	* 检验报告结束日期
	*/
		@ApiModelProperty(value = "检验报告结束日期")
		private LocalDateTime reportAttachmentEndTime;


}
